import request from '@/utils/request'

// 查询档案销毁列表
export function listArchiveDestroyRecord(query) {
  return request({
    url: '/manage/ArchiveDestroyRecord/list',
    method: 'get',
    params: query
  })
}

// 查询档案销毁详细
export function getArchiveDestroyRecord(id) {
  return request({
    url: '/manage/ArchiveDestroyRecord/' + id,
    method: 'get'
  })
}

// 新增档案销毁
export function addArchiveDestroyRecord(data) {
  return request({
    url: '/manage/ArchiveDestroyRecord',
    method: 'post',
    data: data
  })
}

// 修改档案销毁
export function updateArchiveDestroyRecord(data) {
  return request({
    url: '/manage/ArchiveDestroyRecord',
    method: 'put',
    data: data
  })
}

// 删除档案销毁
export function delArchiveDestroyRecord(id) {
  return request({
    url: '/manage/ArchiveDestroyRecord/' + id,
    method: 'delete'
  })
}
